package com.example.springbootserve.mapper;

import com.example.springbootserve.controller.Request.BaseRquest;
import com.example.springbootserve.entity.Admin;
import com.example.springbootserve.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> list();

    List<Category> listByCondition(BaseRquest baseRquest);

    void save(Category obj);

    Category getById(Integer id);

    void updateById(Category obj);

    void deleteById(Integer id);


}
